package com.vue.vuedemo.map;

import com.vue.vuedemo.pojo.Imglubotu;
import com.vue.vuedemo.pojo.Lubotu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

@Mapper
public interface LubotuMapper {
    @Select("select * from lubotu")
    public List<Lubotu> getAllLuboTu();

    @Select("select * from img_lubo where gid=#{id}")
    public List<Imglubotu> getLuboTuByid(Integer id);

}
